package com.leo.foodmaster.admin.purchase.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.leo.foodmaster.admin.purchase.entity.Supplier;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 供应商 Mapper 接口
 * </p>
 *
 * @author Leo
 * @since 2021-07-31
 */
public interface SupplierMapper extends BaseMapper<Supplier> {

    /**
     * 平台分页条件查询供货商列表
     * @param page 分页条件
     * @param name 供货商名称
     * @param address 供货商地址
     * @param status 供货商状态
     * @return Page<Supplier>
     */
    Page<Supplier> pageList(Page<Supplier> page, String name, String address, String status);
}
